<?php

namespace app\common\validate;

use app\extra\BaseValidate;


class Users extends BaseValidate
{
    protected  $rule = [
        'openId|管理员账户' => 'require|unique:users'

    ];

    //添加基地场景验证
    public function scene(){
        return $this->only(['openId']);
    }
}
